/* Text Color Fixes for Dark Mode Readability */

/* Card Headers */
.card-header {
  color: var(--sol-text-primary) !important;
}

.card-header h1, .card-header h2, .card-header h3, .card-header h4, .card-header h5, .card-header h6 {
  color: var(--sol-text-primary) !important;
}

.card-header p, .card-header .text-muted {
  color: var(--sol-text-secondary) !important;
}

/* Card Body */
.card-body {
  color: var(--sol-text-primary);
}

.card-body .text-muted {
  color: var(--sol-text-muted) !important;
}

/* Form Elements */
.form-control::placeholder {
  color: var(--sol-text-muted);
}

.form-text {
  color: var(--sol-text-muted) !important;
}

.form-select {
  background-color: var(--sol-bg-secondary);
  border: 2px solid var(--sol-border);
  color: var(--sol-text-primary);
}

.form-select:focus {
  background-color: var(--sol-card-bg);
  border-color: var(--solana-purple);
  color: var(--sol-text-primary);
}

/* Bootstrap Overrides */
.bg-light {
  background-color: var(--sol-bg-secondary) !important;
  color: var(--sol-text-primary);
}

.text-muted {
  color: var(--sol-text-muted) !important;
}

.text-secondary {
  color: var(--sol-text-secondary) !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--sol-text-primary);
}

p {
  color: var(--sol-text-primary);
}

strong {
  color: var(--sol-text-primary);
}

code {
  background-color: var(--sol-bg-tertiary);
  color: var(--sol-text-primary);
  border: 1px solid var(--sol-border);
}

/* Alert Messages */
.alert-info {
  background: linear-gradient(135deg, rgba(20, 241, 149, 0.1), rgba(153, 69, 255, 0.1));
  border: 1px solid var(--solana-green);
  color: var(--sol-text-primary);
}